﻿using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Management;
using System.Security.Cryptography;
using System.Text;
using Meqs.Entity;

/// <summary>
/// Common 的摘要说明
/// </summary>
public class Util
{
    public Util()
    {

    }

    public  static Perm GetUserInfo()
    {
        if (HttpContext.Current.Session["UserInfo"] != null)
        {
            return HttpContext.Current.Session["UserInfo"] as Perm;
        }
        else
        {
            return null;
        }


    }

    
}
